package com.ronghuanet.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页数据类对象
 * @param <T>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    private Long total = 0L; //总页数
    private List<T> rows = new ArrayList<>(); //当前页数据
}
